package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * SPMS交货单表头
 * </p>
 *
 * @author Wayne
 * @since 2021-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SAP_DELIVERY_NOTE_SPMS")
@ApiModel(value="SapDeliveryNoteSpms对象", description="SPMS交货单表头")
public class SapDeliveryNoteSpms implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "SPMS UUID")
    @TableId("SPMS_UUID")
    private String spmsUuid;

    @ApiModelProperty(value = "SPMS任务凭证号")
    @TableField("SPMS_ID")
    private String spmsId;

    @ApiModelProperty(value = "SPMS任务状态")
    @TableField("TASK_STATUS")
    private String taskStatus;

    @ApiModelProperty(value = "SAP交货单号")
    @TableField("DELIVERY_NOTE_SAP")
    private String deliveryNoteSap;

    @ApiModelProperty(value = "计划到货时间")
    @TableField("PLANNED_ARRIVAL_DATE")
    private String plannedArrivalDate;

    @ApiModelProperty(value = "交货类型")
    @TableField("DELIVERY_TYPE")
    private String deliveryType;

    @ApiModelProperty(value = "SRM送货单号")
    @TableField("DELIVERY_NOTE_SRM")
    private String deliveryNoteSrm;

    @ApiModelProperty(value = "SAP创建日期")
    @TableField("CREATE_DATE_SAP")
    private String createDateSap;

    @ApiModelProperty(value = "SPMS标识（SAP提供-X表示备件货，空表示贸易货）")
    @TableField("SPMS_MARK")
    private String spmsMark;

    @ApiModelProperty(value = "供应商编号")
    @TableField("SUPPLIER_CODE")
    private String supplierCode;

    @ApiModelProperty(value = "供应商描述")
    @TableField("SUPPLIER_DESC")
    private String supplierDesc;

    @ApiModelProperty(value = "SPMS 状态，任务开始执行则会被锁定，忽略更新")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "工厂")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "收货仓库")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "凭证日期")
    @TableField("DOCUMENT_DATE")
    private String documentDate;

    @ApiModelProperty(value = "过账日期")
    @TableField("POSTING_DATE")
    private String postingDate;

    @ApiModelProperty(value = "操作人姓名")
    @TableField("OPERATE_USERNAME")
    private String operateUsername;

    @ApiModelProperty(value = "移动类型")
    @TableField("MOBILE_TYPE")
    private String mobileType;

    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_USER")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;


}
